/*
 * Copyright 2009-2017 Alibaba Cloud All rights reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBEDATACENTERSRESULT_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBEDATACENTERSRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cassandra/CassandraExport.h>

namespace AlibabaCloud
{
	namespace Cassandra
	{
		namespace Model
		{
			class ALIBABACLOUD_CASSANDRA_EXPORT DescribeDataCentersResult : public ServiceResult
			{
			public:
				struct DataCenter
				{
					std::string status;
					int autoRenewPeriod;
					std::string dataCenterId;
					std::string createdTime;
					std::string commodityInstance;
					std::string zoneId;
					int nodeCount;
					std::string clusterId;
					std::string payType;
					std::string lockMode;
					std::string dataCenterName;
					std::string vswitchId;
					std::string diskType;
					std::string vpcId;
					bool autoRenewal;
					int diskSize;
					std::string regionId;
					std::string instanceType;
					std::string expireTime;
				};


				DescribeDataCentersResult();
				explicit DescribeDataCentersResult(const std::string &payload);
				~DescribeDataCentersResult();
				std::vector<DataCenter> getDataCenters()const;

			protected:
				void parse(const std::string &payload);
			private:
				std::vector<DataCenter> dataCenters_;

			};
		}
	}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_DESCRIBEDATACENTERSRESULT_H_